package api

import (
	"Gin/api/handler"
	"github.com/gin-gonic/gin"
)

func Run(r *gin.Engine) {
	r.GET("", func(c *gin.Context) {
		c.JSON(200, gin.H{
			"code":    200,
			"message": "OK",
		})
	})
	r.POST("/video/push", handler.VideoPush)
	r.POST("/videp/update", handler.VidepUpdate)
	r.POST("/video/audit", handler.VideoAudit)
	r.POST("/video/list", handler.VideoList)
	r.POST("/video/data", handler.VideoData)
}
